Spaces:
Running
Running
acecalisto3
commited on
Commit
•
57150a5
1
Parent(s):
c1a5c65
Update app.py
Browse files
app.py
CHANGED
@@ -14,9 +14,22 @@ import tempfile
|
|
14 |
|
15 |
from huggingface_hub import HfFolder
|
16 |
|
|
|
|
|
17 |
def main():
|
|
|
|
|
|
|
|
|
|
|
|
|
18 |
# Get the user's idea
|
19 |
-
|
|
|
|
|
|
|
|
|
|
|
20 |
|
21 |
# Generate the code for the application
|
22 |
code = gemmacode.generate(idea)
|
|
|
14 |
|
15 |
from huggingface_hub import HfFolder
|
16 |
|
17 |
+
import streamlit as st
|
18 |
+
|
19 |
def main():
|
20 |
+
st.title("Application Idea Generator")
|
21 |
+
idea = st.text_input("What is your idea for an application?", "default idea")
|
22 |
+
if st.button("Generate Code"):
|
23 |
+
# Lógica para generar el código basada en la idea
|
24 |
+
st.write(f"Generated code for idea: {idea}")
|
25 |
+
|
26 |
# Get the user's idea
|
27 |
+
st.title("Application Idea Generator")
|
28 |
+
idea = st.text_input("What is your idea for an application?", "default idea")
|
29 |
+
if st.button("Generate Code"):
|
30 |
+
# Lógica para generar el código basada en la idea
|
31 |
+
st.write(f"Generated code for idea: {idea}")
|
32 |
+
|
33 |
|
34 |
# Generate the code for the application
|
35 |
code = gemmacode.generate(idea)
|