Spaces:
Runtime error
Runtime error
russkiyximik commited on
Commit ·
f6b050d
1
Parent(s): eb3965f
changed imports
Browse files- mycoder/app.py +2 -2
mycoder/app.py
CHANGED
|
@@ -1,6 +1,6 @@
|
|
| 1 |
import os
|
| 2 |
import streamlit as st
|
| 3 |
-
from
|
| 4 |
|
| 5 |
st.title("Query2Plot Demo")
|
| 6 |
st.write("This is a demo for the Query2Plot application.")
|
|
@@ -36,7 +36,7 @@ if st.button("Run Query2Plot"):
|
|
| 36 |
st.image("output/plot.png", caption="Generated Figure")
|
| 37 |
|
| 38 |
if st.button("DEMO START OLLAMA"):
|
| 39 |
-
from
|
| 40 |
start_ollama()
|
| 41 |
import time
|
| 42 |
time.sleep(20) # Wait for Ollama to start
|
|
|
|
| 1 |
import os
|
| 2 |
import streamlit as st
|
| 3 |
+
from src.inner.main import run
|
| 4 |
|
| 5 |
st.title("Query2Plot Demo")
|
| 6 |
st.write("This is a demo for the Query2Plot application.")
|
|
|
|
| 36 |
st.image("output/plot.png", caption="Generated Figure")
|
| 37 |
|
| 38 |
if st.button("DEMO START OLLAMA"):
|
| 39 |
+
from ollamaini import start_ollama, start_model
|
| 40 |
start_ollama()
|
| 41 |
import time
|
| 42 |
time.sleep(20) # Wait for Ollama to start
|