Spaces:
Runtime error
Runtime error
Update app.py
Browse files
app.py
CHANGED
@@ -1,7 +1,7 @@
|
|
1 |
import gradio as gr
|
2 |
|
3 |
def update(choice, text):
|
4 |
-
|
5 |
return f1(text)
|
6 |
# return f"Welcome to Gradio, {name}!"
|
7 |
|
|
|
1 |
import gradio as gr
|
2 |
|
3 |
def update(choice, text):
|
4 |
+
if (choice==“gpt2large“):
|
5 |
return f1(text)
|
6 |
# return f"Welcome to Gradio, {name}!"
|
7 |
|