Spaces:
Runtime error
Runtime error
Commit
·
74ba6e5
1
Parent(s):
1b862f0
Update app.py
Browse files
app.py
CHANGED
|
@@ -19,6 +19,6 @@ def func(context, question):
|
|
| 19 |
result = nlp(question = question, context=context)
|
| 20 |
return result['answer']
|
| 21 |
|
| 22 |
-
app = gr.Interface(fn=func, inputs = ['textbox', 'text'], outputs = 'textbox', title = 'Farm QA Bot', theme = 'dark-grass', description = '
|
| 23 |
|
| 24 |
app.launch(inline=False)
|
|
|
|
| 19 |
result = nlp(question = question, context=context)
|
| 20 |
return result['answer']
|
| 21 |
|
| 22 |
+
app = gr.Interface(fn=func, inputs = ['textbox', 'text'], outputs = 'textbox', title = 'Farm QA Bot', theme = 'dark-grass', description = 'Farm QA Bot')
|
| 23 |
|
| 24 |
app.launch(inline=False)
|