Update app.py
Browse files
app.py
CHANGED
|
@@ -85,7 +85,7 @@ submit=st.button("submit")
|
|
| 85 |
|
| 86 |
|
| 87 |
|
| 88 |
-
if submit and
|
| 89 |
query=gemini_sql_query(prompt,input)
|
| 90 |
response=read_sql_query(query,db_path)
|
| 91 |
print(query)
|
|
|
|
| 85 |
|
| 86 |
|
| 87 |
|
| 88 |
+
if submit and uploaded_file and input:
|
| 89 |
query=gemini_sql_query(prompt,input)
|
| 90 |
response=read_sql_query(query,db_path)
|
| 91 |
print(query)
|