Spaces:
Sleeping
Sleeping
Update app.py
Browse files
app.py
CHANGED
@@ -8,8 +8,8 @@ generate_text = InstructionTextGenerationPipeline(model=model, tokenizer=tokeniz
|
|
8 |
|
9 |
import gradio as gr
|
10 |
|
11 |
-
def greet(
|
12 |
-
return generate_text(
|
13 |
|
14 |
|
15 |
iface = gr.Interface(fn=greet, inputs="text", outputs="text")
|
|
|
8 |
|
9 |
import gradio as gr
|
10 |
|
11 |
+
def greet(question):
|
12 |
+
return generate_text(question)
|
13 |
|
14 |
|
15 |
iface = gr.Interface(fn=greet, inputs="text", outputs="text")
|