Spaces:
Sleeping
Sleeping
JHON FREDY GONZ脕LEZ
commited on
Upload MOVIMIENTO_PARABOLICO.ipynb
Browse files- MOVIMIENTO_PARABOLICO.ipynb +21 -12
MOVIMIENTO_PARABOLICO.ipynb
CHANGED
@@ -116,7 +116,7 @@
|
|
116 |
" boton_graficar.click(fn=graficar, inputs=[v0_input, angulo_input, h_inicial_input], outputs=[output_image, output_markdown, boton_descargar])\n",
|
117 |
"\n",
|
118 |
"# Lanzar la interfaz\n",
|
119 |
-
"interfaz.launch()
|
120 |
],
|
121 |
"metadata": {
|
122 |
"colab": {
|
@@ -124,15 +124,15 @@
|
|
124 |
"height": 1000
|
125 |
},
|
126 |
"id": "z53q7pS2N558",
|
127 |
-
"outputId": "
|
128 |
},
|
129 |
-
"execution_count":
|
130 |
"outputs": [
|
131 |
{
|
132 |
"output_type": "stream",
|
133 |
"name": "stdout",
|
134 |
"text": [
|
135 |
-
"Requirement already satisfied: gradio in /usr/local/lib/python3.10/dist-packages (4.44.
|
136 |
"Requirement already satisfied: matplotlib in /usr/local/lib/python3.10/dist-packages (3.7.1)\n",
|
137 |
"Requirement already satisfied: pillow in /usr/local/lib/python3.10/dist-packages (10.4.0)\n",
|
138 |
"Requirement already satisfied: aiofiles<24.0,>=22.0 in /usr/local/lib/python3.10/dist-packages (from gradio) (23.2.1)\n",
|
@@ -148,7 +148,7 @@
|
|
148 |
"Requirement already satisfied: numpy<3.0,>=1.0 in /usr/local/lib/python3.10/dist-packages (from gradio) (1.26.4)\n",
|
149 |
"Requirement already satisfied: orjson~=3.0 in /usr/local/lib/python3.10/dist-packages (from gradio) (3.10.7)\n",
|
150 |
"Requirement already satisfied: packaging in /usr/local/lib/python3.10/dist-packages (from gradio) (24.1)\n",
|
151 |
-
"Requirement already satisfied: pandas<3.0,>=1.0 in /usr/local/lib/python3.10/dist-packages (from gradio) (2.
|
152 |
"Requirement already satisfied: pydantic>=2.0 in /usr/local/lib/python3.10/dist-packages (from gradio) (2.9.2)\n",
|
153 |
"Requirement already satisfied: pydub in /usr/local/lib/python3.10/dist-packages (from gradio) (0.25.1)\n",
|
154 |
"Requirement already satisfied: python-multipart>=0.0.9 in /usr/local/lib/python3.10/dist-packages (from gradio) (0.0.12)\n",
|
@@ -164,7 +164,7 @@
|
|
164 |
"Requirement already satisfied: websockets<13.0,>=10.0 in /usr/local/lib/python3.10/dist-packages (from gradio-client==1.3.0->gradio) (12.0)\n",
|
165 |
"Requirement already satisfied: contourpy>=1.0.1 in /usr/local/lib/python3.10/dist-packages (from matplotlib) (1.3.0)\n",
|
166 |
"Requirement already satisfied: cycler>=0.10 in /usr/local/lib/python3.10/dist-packages (from matplotlib) (0.12.1)\n",
|
167 |
-
"Requirement already satisfied: fonttools>=4.22.0 in /usr/local/lib/python3.10/dist-packages (from matplotlib) (4.
|
168 |
"Requirement already satisfied: kiwisolver>=1.0.1 in /usr/local/lib/python3.10/dist-packages (from matplotlib) (1.4.7)\n",
|
169 |
"Requirement already satisfied: pyparsing>=2.3.1 in /usr/local/lib/python3.10/dist-packages (from matplotlib) (3.1.4)\n",
|
170 |
"Requirement already satisfied: python-dateutil>=2.7 in /usr/local/lib/python3.10/dist-packages (from matplotlib) (2.8.2)\n",
|
@@ -173,13 +173,13 @@
|
|
173 |
"Requirement already satisfied: exceptiongroup in /usr/local/lib/python3.10/dist-packages (from anyio<5.0,>=3.0->gradio) (1.2.2)\n",
|
174 |
"Requirement already satisfied: starlette<0.39.0,>=0.37.2 in /usr/local/lib/python3.10/dist-packages (from fastapi<1.0->gradio) (0.38.6)\n",
|
175 |
"Requirement already satisfied: certifi in /usr/local/lib/python3.10/dist-packages (from httpx>=0.24.1->gradio) (2024.8.30)\n",
|
176 |
-
"Requirement already satisfied: httpcore==1.* in /usr/local/lib/python3.10/dist-packages (from httpx>=0.24.1->gradio) (1.0.
|
177 |
"Requirement already satisfied: h11<0.15,>=0.13 in /usr/local/lib/python3.10/dist-packages (from httpcore==1.*->httpx>=0.24.1->gradio) (0.14.0)\n",
|
178 |
"Requirement already satisfied: filelock in /usr/local/lib/python3.10/dist-packages (from huggingface-hub>=0.19.3->gradio) (3.16.1)\n",
|
179 |
"Requirement already satisfied: requests in /usr/local/lib/python3.10/dist-packages (from huggingface-hub>=0.19.3->gradio) (2.32.3)\n",
|
180 |
"Requirement already satisfied: tqdm>=4.42.1 in /usr/local/lib/python3.10/dist-packages (from huggingface-hub>=0.19.3->gradio) (4.66.5)\n",
|
181 |
"Requirement already satisfied: pytz>=2020.1 in /usr/local/lib/python3.10/dist-packages (from pandas<3.0,>=1.0->gradio) (2024.2)\n",
|
182 |
-
"Requirement already satisfied: tzdata>=2022.
|
183 |
"Requirement already satisfied: annotated-types>=0.6.0 in /usr/local/lib/python3.10/dist-packages (from pydantic>=2.0->gradio) (0.7.0)\n",
|
184 |
"Requirement already satisfied: pydantic-core==2.23.4 in /usr/local/lib/python3.10/dist-packages (from pydantic>=2.0->gradio) (2.23.4)\n",
|
185 |
"Requirement already satisfied: six>=1.5 in /usr/local/lib/python3.10/dist-packages (from python-dateutil>=2.7->matplotlib) (1.16.0)\n",
|
@@ -205,7 +205,7 @@
|
|
205 |
"Setting queue=True in a Colab notebook requires sharing enabled. Setting `share=True` (you can turn this off by setting `share=False` in `launch()` explicitly).\n",
|
206 |
"\n",
|
207 |
"Colab notebook detected. To show errors in colab notebook, set debug=True in launch()\n",
|
208 |
-
"Running on public URL: https://
|
209 |
"\n",
|
210 |
"This share link expires in 72 hours. For free permanent hosting and GPU upgrades, run `gradio deploy` from Terminal to deploy to Spaces (https://huggingface.co/spaces)\n"
|
211 |
]
|
@@ -217,7 +217,7 @@
|
|
217 |
"<IPython.core.display.HTML object>"
|
218 |
],
|
219 |
"text/html": [
|
220 |
-
"<div><iframe src=\"https://
|
221 |
]
|
222 |
},
|
223 |
"metadata": {}
|
@@ -228,7 +228,7 @@
|
|
228 |
"text/plain": []
|
229 |
},
|
230 |
"metadata": {},
|
231 |
-
"execution_count":
|
232 |
}
|
233 |
]
|
234 |
},
|
@@ -244,7 +244,7 @@
|
|
244 |
"id": "BvwfK0jOaOw0",
|
245 |
"outputId": "b02b0766-6403-4d14-82c2-5118333bd851"
|
246 |
},
|
247 |
-
"execution_count":
|
248 |
"outputs": [
|
249 |
{
|
250 |
"output_type": "stream",
|
@@ -258,6 +258,15 @@
|
|
258 |
]
|
259 |
}
|
260 |
]
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
261 |
}
|
262 |
],
|
263 |
"metadata": {
|
|
|
116 |
" boton_graficar.click(fn=graficar, inputs=[v0_input, angulo_input, h_inicial_input], outputs=[output_image, output_markdown, boton_descargar])\n",
|
117 |
"\n",
|
118 |
"# Lanzar la interfaz\n",
|
119 |
+
"interfaz.launch()"
|
120 |
],
|
121 |
"metadata": {
|
122 |
"colab": {
|
|
|
124 |
"height": 1000
|
125 |
},
|
126 |
"id": "z53q7pS2N558",
|
127 |
+
"outputId": "1ef44ca9-b3dd-4d29-ca52-773a496ef222"
|
128 |
},
|
129 |
+
"execution_count": 2,
|
130 |
"outputs": [
|
131 |
{
|
132 |
"output_type": "stream",
|
133 |
"name": "stdout",
|
134 |
"text": [
|
135 |
+
"Requirement already satisfied: gradio in /usr/local/lib/python3.10/dist-packages (4.44.1)\n",
|
136 |
"Requirement already satisfied: matplotlib in /usr/local/lib/python3.10/dist-packages (3.7.1)\n",
|
137 |
"Requirement already satisfied: pillow in /usr/local/lib/python3.10/dist-packages (10.4.0)\n",
|
138 |
"Requirement already satisfied: aiofiles<24.0,>=22.0 in /usr/local/lib/python3.10/dist-packages (from gradio) (23.2.1)\n",
|
|
|
148 |
"Requirement already satisfied: numpy<3.0,>=1.0 in /usr/local/lib/python3.10/dist-packages (from gradio) (1.26.4)\n",
|
149 |
"Requirement already satisfied: orjson~=3.0 in /usr/local/lib/python3.10/dist-packages (from gradio) (3.10.7)\n",
|
150 |
"Requirement already satisfied: packaging in /usr/local/lib/python3.10/dist-packages (from gradio) (24.1)\n",
|
151 |
+
"Requirement already satisfied: pandas<3.0,>=1.0 in /usr/local/lib/python3.10/dist-packages (from gradio) (2.2.2)\n",
|
152 |
"Requirement already satisfied: pydantic>=2.0 in /usr/local/lib/python3.10/dist-packages (from gradio) (2.9.2)\n",
|
153 |
"Requirement already satisfied: pydub in /usr/local/lib/python3.10/dist-packages (from gradio) (0.25.1)\n",
|
154 |
"Requirement already satisfied: python-multipart>=0.0.9 in /usr/local/lib/python3.10/dist-packages (from gradio) (0.0.12)\n",
|
|
|
164 |
"Requirement already satisfied: websockets<13.0,>=10.0 in /usr/local/lib/python3.10/dist-packages (from gradio-client==1.3.0->gradio) (12.0)\n",
|
165 |
"Requirement already satisfied: contourpy>=1.0.1 in /usr/local/lib/python3.10/dist-packages (from matplotlib) (1.3.0)\n",
|
166 |
"Requirement already satisfied: cycler>=0.10 in /usr/local/lib/python3.10/dist-packages (from matplotlib) (0.12.1)\n",
|
167 |
+
"Requirement already satisfied: fonttools>=4.22.0 in /usr/local/lib/python3.10/dist-packages (from matplotlib) (4.54.1)\n",
|
168 |
"Requirement already satisfied: kiwisolver>=1.0.1 in /usr/local/lib/python3.10/dist-packages (from matplotlib) (1.4.7)\n",
|
169 |
"Requirement already satisfied: pyparsing>=2.3.1 in /usr/local/lib/python3.10/dist-packages (from matplotlib) (3.1.4)\n",
|
170 |
"Requirement already satisfied: python-dateutil>=2.7 in /usr/local/lib/python3.10/dist-packages (from matplotlib) (2.8.2)\n",
|
|
|
173 |
"Requirement already satisfied: exceptiongroup in /usr/local/lib/python3.10/dist-packages (from anyio<5.0,>=3.0->gradio) (1.2.2)\n",
|
174 |
"Requirement already satisfied: starlette<0.39.0,>=0.37.2 in /usr/local/lib/python3.10/dist-packages (from fastapi<1.0->gradio) (0.38.6)\n",
|
175 |
"Requirement already satisfied: certifi in /usr/local/lib/python3.10/dist-packages (from httpx>=0.24.1->gradio) (2024.8.30)\n",
|
176 |
+
"Requirement already satisfied: httpcore==1.* in /usr/local/lib/python3.10/dist-packages (from httpx>=0.24.1->gradio) (1.0.6)\n",
|
177 |
"Requirement already satisfied: h11<0.15,>=0.13 in /usr/local/lib/python3.10/dist-packages (from httpcore==1.*->httpx>=0.24.1->gradio) (0.14.0)\n",
|
178 |
"Requirement already satisfied: filelock in /usr/local/lib/python3.10/dist-packages (from huggingface-hub>=0.19.3->gradio) (3.16.1)\n",
|
179 |
"Requirement already satisfied: requests in /usr/local/lib/python3.10/dist-packages (from huggingface-hub>=0.19.3->gradio) (2.32.3)\n",
|
180 |
"Requirement already satisfied: tqdm>=4.42.1 in /usr/local/lib/python3.10/dist-packages (from huggingface-hub>=0.19.3->gradio) (4.66.5)\n",
|
181 |
"Requirement already satisfied: pytz>=2020.1 in /usr/local/lib/python3.10/dist-packages (from pandas<3.0,>=1.0->gradio) (2024.2)\n",
|
182 |
+
"Requirement already satisfied: tzdata>=2022.7 in /usr/local/lib/python3.10/dist-packages (from pandas<3.0,>=1.0->gradio) (2024.2)\n",
|
183 |
"Requirement already satisfied: annotated-types>=0.6.0 in /usr/local/lib/python3.10/dist-packages (from pydantic>=2.0->gradio) (0.7.0)\n",
|
184 |
"Requirement already satisfied: pydantic-core==2.23.4 in /usr/local/lib/python3.10/dist-packages (from pydantic>=2.0->gradio) (2.23.4)\n",
|
185 |
"Requirement already satisfied: six>=1.5 in /usr/local/lib/python3.10/dist-packages (from python-dateutil>=2.7->matplotlib) (1.16.0)\n",
|
|
|
205 |
"Setting queue=True in a Colab notebook requires sharing enabled. Setting `share=True` (you can turn this off by setting `share=False` in `launch()` explicitly).\n",
|
206 |
"\n",
|
207 |
"Colab notebook detected. To show errors in colab notebook, set debug=True in launch()\n",
|
208 |
+
"Running on public URL: https://8fd5c1d60749333017.gradio.live\n",
|
209 |
"\n",
|
210 |
"This share link expires in 72 hours. For free permanent hosting and GPU upgrades, run `gradio deploy` from Terminal to deploy to Spaces (https://huggingface.co/spaces)\n"
|
211 |
]
|
|
|
217 |
"<IPython.core.display.HTML object>"
|
218 |
],
|
219 |
"text/html": [
|
220 |
+
"<div><iframe src=\"https://8fd5c1d60749333017.gradio.live\" width=\"100%\" height=\"500\" allow=\"autoplay; camera; microphone; clipboard-read; clipboard-write;\" frameborder=\"0\" allowfullscreen></iframe></div>"
|
221 |
]
|
222 |
},
|
223 |
"metadata": {}
|
|
|
228 |
"text/plain": []
|
229 |
},
|
230 |
"metadata": {},
|
231 |
+
"execution_count": 2
|
232 |
}
|
233 |
]
|
234 |
},
|
|
|
244 |
"id": "BvwfK0jOaOw0",
|
245 |
"outputId": "b02b0766-6403-4d14-82c2-5118333bd851"
|
246 |
},
|
247 |
+
"execution_count": null,
|
248 |
"outputs": [
|
249 |
{
|
250 |
"output_type": "stream",
|
|
|
258 |
]
|
259 |
}
|
260 |
]
|
261 |
+
},
|
262 |
+
{
|
263 |
+
"cell_type": "code",
|
264 |
+
"source": [],
|
265 |
+
"metadata": {
|
266 |
+
"id": "3lvf4rVeu2lo"
|
267 |
+
},
|
268 |
+
"execution_count": null,
|
269 |
+
"outputs": []
|
270 |
}
|
271 |
],
|
272 |
"metadata": {
|