Spaces:
Runtime error
Runtime error
Update app.py
Browse files
app.py
CHANGED
|
@@ -40,9 +40,9 @@ print("Made hp_qa")
|
|
| 40 |
def answer_question(query):
|
| 41 |
return(hp_qa.run(query))
|
| 42 |
|
| 43 |
-
if __name__ == "
|
| 44 |
import gradio as gr
|
| 45 |
-
print(answer_question("Who is Harry's Father"))
|
| 46 |
|
| 47 |
gr.Interface(
|
| 48 |
answer_question,
|
|
|
|
| 40 |
def answer_question(query):
|
| 41 |
return(hp_qa.run(query))
|
| 42 |
|
| 43 |
+
if __name__ == "__main__":
|
| 44 |
import gradio as gr
|
| 45 |
+
# print(answer_question("Who is Harry's Father"))
|
| 46 |
|
| 47 |
gr.Interface(
|
| 48 |
answer_question,
|