Spaces:
Runtime error
Runtime error
Update app.py
Browse files
app.py
CHANGED
@@ -1,8 +1,8 @@
|
|
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}!"
|
7 |
|
8 |
generator1 = gr.Interface.load("huggingface/gpt2-large")
|
|
|
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}!"
|
7 |
|
8 |
generator1 = gr.Interface.load("huggingface/gpt2-large")
|