Spaces:
Runtime error
Runtime error
translate
Browse files
app.py
CHANGED
@@ -40,13 +40,15 @@ with tab1:
|
|
40 |
st.markdown("# What is Gorilla?")
|
41 |
st.write('Gorilla is an advanced Large Language Model (LLM) designed to effectively interact with a wide range of APIs, enhancing the capabilities of LLMs in real-world applications.')
|
42 |
|
|
|
|
|
43 |
|
44 |
with tab2:
|
45 |
col1, col2 = st.columns(2)
|
46 |
with col1:
|
47 |
api_provider = st.radio("Select an API Provider:", ("Huggingface", "Torch Hub", "TensorFlow Hub"))
|
48 |
with col2:
|
49 |
-
input = st.text_input("Ask here")
|
50 |
|
51 |
if api_provider and input:
|
52 |
if st.button("Run Gorilla"):
|
|
|
40 |
st.markdown("# What is Gorilla?")
|
41 |
st.write('Gorilla is an advanced Large Language Model (LLM) designed to effectively interact with a wide range of APIs, enhancing the capabilities of LLMs in real-world applications.')
|
42 |
|
43 |
+
st.markdown('* Read the article of this demo here: https://medium.com/@dan.avila7/try-gorilla-a-large-language-model-connected-with-massive-apis-442f3b554ffb')
|
44 |
+
st.markdown('* All the code was written with the help of CodeGPT (https://codegpt.co)')
|
45 |
|
46 |
with tab2:
|
47 |
col1, col2 = st.columns(2)
|
48 |
with col1:
|
49 |
api_provider = st.radio("Select an API Provider:", ("Huggingface", "Torch Hub", "TensorFlow Hub"))
|
50 |
with col2:
|
51 |
+
input = st.text_input("Ask here: (Example: I would like to translate from English to French.)")
|
52 |
|
53 |
if api_provider and input:
|
54 |
if st.button("Run Gorilla"):
|