gradio/test/test_files
Mehdi Bahri 4ccb9a86f1
Makes it possible to set the initial camera position for the Model3D component as a tuple of (alpha, beta, radius) (#5266)
* Allow setting alpha

* Allow setting beta and radius

* Formatting

* Change to tuple of (alpha, beta, radius)

* Renamed parameter

* Formatting

* add changeset

* add to update

* Change to tuple of (alpha, beta, radius)

* Renamed parameter

* Formatting

* Docstring for Model3D

* rename parameter

* add changeset

* type

* 180

* dupe

* 180

* linting

* lint

* lint

* add test

* Formatting in docstring + added what unit the angles are

* Added babylon types to model3d's package.json

* pnpm lockfile

* Type narrowing of helperCamera + assumed not null

* refactor

* docstring

* lint

* type checking

* fix test

---------

Co-authored-by: Mehdi <mehdi.bahri@epicgames.com>
Co-authored-by: gradio-pr-bot <gradio-pr-bot@users.noreply.github.com>
Co-authored-by: Abubakar Abid <abubakar@huggingface.co>
2023-08-29 17:02:05 -07:00
..
images Fixes to gr.Examples (#1952) 2022-08-08 10:35:26 -07:00
images_log Fixes to gr.Examples (#1952) 2022-08-08 10:35:26 -07:00
alphabet.txt Support large files try 2 (#3191) 2023-02-17 15:31:02 -08:00
audio_sample.wav full tests for inputs.py 2021-11-02 13:17:35 -07:00
bad_video_sample.mp4 Convert video to playable format if ffmpeg installed (#2003) 2022-08-16 13:21:13 -04:00
Box.gltf 3712 js client (#3899) 2023-05-12 16:22:25 +01:00
bus.png full tests for inputs.py 2021-11-02 13:17:35 -07:00
cheetah1.jpg Website: WIP (#328) 2021-12-13 22:02:19 -08:00
Fox.gltf 3712 js client (#3899) 2023-05-12 16:22:25 +01:00
playable_but_bad_container.mkv Convert video to playable format if ffmpeg installed (#2003) 2022-08-16 13:21:13 -04:00
README.md Refactor component directories (#5074) 2023-08-03 23:01:18 +01:00
s1.srt Adding subtitles to gr.Video (#3673) 2023-04-11 16:06:48 -07:00
sample_file.pdf full tests for inputs.py 2021-11-02 13:17:35 -07:00
test_label_json.json 3712 js client (#3899) 2023-05-12 16:22:25 +01:00
video_sample.mp4 full tests for inputs.py 2021-11-02 13:17:35 -07:00
video_sample.ogg Convert video to playable format if ffmpeg installed (#2003) 2022-08-16 13:21:13 -04:00
video_sample.webm Convert video to playable format if ffmpeg installed (#2003) 2022-08-16 13:21:13 -04:00
xray_config_diff_ids.json Makes it possible to set the initial camera position for the Model3D component as a tuple of (alpha, beta, radius) (#5266) 2023-08-29 17:02:05 -07:00
xray_config_wrong.json Makes it possible to set the initial camera position for the Model3D component as a tuple of (alpha, beta, radius) (#5266) 2023-08-29 17:02:05 -07:00
xray_config.json Makes it possible to set the initial camera position for the Model3D component as a tuple of (alpha, beta, radius) (#5266) 2023-08-29 17:02:05 -07:00

Files in this directory are used in:

  • tests for the gradio library
  • example inputs in the view API documentation

Warning: please be careful when renaming / deleting files