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